home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / 1.098 / Include / devAddrs.h < prev    next >
C/C++ Source or Header  |  1991-07-30  |  1KB  |  50 lines

  1. /*
  2.  * devAddrs.h --
  3.  *
  4.  *     Device and interrupt vector addresses for Sun-4's.
  5.  *
  6.  * Copyright 1985, 1989 Regents of the University of California
  7.  * Permission to use, copy, modify, and distribute this
  8.  * software and its documentation for any purpose and without
  9.  * fee is hereby granted, provided that the above copyright
  10.  * notice appear in all copies.  The University of California
  11.  * makes no representations about the suitability of this
  12.  * software for any purpose.  It is provided "as is" without
  13.  * express or implied warranty.
  14.  *
  15.  * $Header: /sprite/src/kernel/dev/sun4c.md/RCS/devAddrs.h,v 1.4 90/11/27 12:47:23 mgbaker Exp $ SPRITE (Berkeley)
  16.  */
  17.  
  18. #ifndef _DEVADDRS
  19. #define _DEVADDRS
  20.  
  21. /*
  22.  * Should get these values from PROM using Mach_MonSearchProm().
  23.  */
  24. #define    DEV_KBD_ADDR            0xffee9004
  25. #define    DEV_MOUSE_ADDR            0xffee9000
  26. #define    DEV_SERIALA_ADDR        0xffeeb004
  27. #define    DEV_SERIALB_ADDR        0xffeeb000
  28. #define    DEV_TIMER_ADDR            0xffeef000
  29. #define    DEV_COUNTER_ADDR        0xffeef000
  30. #define    DEV_INTERRUPT_REG_ADDR        0xffeed000
  31. #define    DEV_FRAME_BUF_ADDR        0xffd80000
  32. #define    DEV_DMA_ADDR            0xffeb4dbc
  33. /*
  34.  * Interrupt vector assignments:
  35.  */
  36. #define DEV_UART_VECTOR            30
  37.  
  38.  
  39. /*
  40.  * Physical addresses for unmapped devices.
  41.  */
  42. #define    DEV_SCSI_ADDR            0xf8800000
  43. #ifdef NOTDEF
  44. /* This seems already to be mapped at a virtual address. */
  45. #define    DEV_DMA_ADDR            0xf8400000
  46. #endif NOTDEF
  47.  
  48.  
  49. #endif /* _DEVADDRS */
  50.